APE Cram
cs.jdoner.me · flagship Pointer Workbench
{{ pz.rung }}

{{ pz.title }}

{{ pz.brief }}

Goal {{ pz.goalText }}
Scores 0 {{ pz.zeroTrap }}
Then: guided walkthrough
{{ v.name }} : Node
lost · no reference
{{ c.className }} {{ c.objId }}
data : {{ c.dataType }}
{{ c.dataText }}
next : Node
methods
{{ m }}
object (heap · new) reference (dot + arrow) null value cursor (cur / prev) hover code or an object to trace it
Speed
step {{ ctl.pc }} / {{ ctl.total }} attempts {{ ctl.attempts }}
Blocks, tap to add, drag to place
data =
{{ b.label }}
Your program hover any part to trace it · runs top to bottom
Tap or drag blocks here, in the order you think runs correctly. Then predict the output before you press Run.
{{ b.n }} {{ t.text }}
{{ dragLabel }}
{{ hint.head }}

{{ hint.body }}

Solved

Now draw it.

Draw the final state on paper first, then reveal the diagram and check it against yours.

{{ draw.text }}

On Wednesday’s exam you get paper and a provided main, nothing else. You just practiced exactly that: draw the final state, then check it.

{{ draw.answer }}